package com.winai.launcher.override.font;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

public class OPPOSansHTextView extends TextView {
    public OPPOSansHTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }
    /**
     * 初始化字体
     * @param context
     */
    private void init(Context context) {
        //设置字体样式
        setTypeface(FontTTF.setHeavyFont(context));
    }
}
